import { XTable, Entity, XField, DataType } from '../../com/lovebugs/Index'


@XTable('persion_info')
export default class Persion extends Entity {

    @XField("id", DataType.Long, { isKey: true ,length :11})
    id: number

    @XField("name", DataType.String)
    userName: string

    @XField("nickName", DataType.String)
    nickName: string

    createTime: string

    @XField("sex", DataType.Boolean)
    sex: boolean

    constructor() {
        super()
    }

}